<?php
/**
* The template for displaying Comments.
*/

echo '<div id="comments">';
	

	if ( post_password_required() )
	{
		echo '<p class="nopassword">';
			_e( 'This post is password protected. Enter the password to view any comments.', 'reFresh' );
        echo '</p>';
		echo '</div><!-- #comments -->';
		return;
	}

	if ( have_comments() )
	{
		echo '<div class="content_horizontal_separator"> </div>';
		echo '<h3 class="comment_title">';
			echo __( 'Comments', 'reFresh' );
		echo '</h3>';

		echo '<ol class="comment_list">';
			wp_list_comments( array( 'callback' => 'comment_callback' ) );
		echo '</ol>';
		
		if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) )
		{
			echo '<div class="comments_navigation">';
				echo '<div class="prev">';
					previous_comments_link( __( '<span class="meta-nav">&larr;</span> Older Comments', 'reFresh' ) );
                echo '</div>';
				echo '<div class="next">';
					next_comments_link( __( 'Newer Comments <span class="meta-nav">&rarr;</span>', 'reFresh' ) );
                echo '</div>';
			echo '</div><!-- .navigation -->';
		}
	} // END if ( have_comments() )

	comment_form();

echo '</div><!-- #comments -->';

 ?>
